package com.szh.taobaounion.utils;

import android.widget.Toast;

import com.szh.taobaounion.base.BaseApplication;

public class ToastUtil {

    private static Toast sToast;

    public static void ShowToast(String tips){
        if (sToast == null) {
            sToast = Toast.makeText(BaseApplication.getAppContext(),tips,Toast.LENGTH_SHORT);
        }else {
            sToast.setText(tips);
        }
          sToast.show();
      }
}
